//
//  DownLoadData.h
//  007AFN的使用
//
//  Created by 黎跃春 on 15/5/18.
//  Copyright (c) 2015年 黎跃春. All rights reserved.
//



#import <Foundation/Foundation.h>

typedef enum : NSUInteger{
    Enum_JokePage,
    Enum_MusicPage,
    
}RequestType;


@interface DownLoadData : NSObject


+ (NSURLSessionDataTask *) getRequestType:(RequestType)type withData:(void (^) (id obj, NSError * err))block withPage:(int)page;


//下载Jokeing数据

+ (NSURLSessionDataTask *)getJokingData:(void (^) (id obj, NSError *err))block;







@end















